<?php
// +----------------------------------------------------------------------
// | 阿里云短信
// +----------------------------------------------------------------------
// | Author: myh
// +----------------------------------------------------------------------
namespace app\common\lib\msg;

class MessageContext
{
    private $message;

    public function __construct(Message $msg)
    {
        $this->message = $msg;
    }

    public function sendMessage($mobile,$code)
    {
        return $this->message->send($mobile,$code);
    }
}